# Maintainer: Alad Wenter <alad@archlinux.org>
pkgname=pslist
pkgver=1.4.0
pkgrel=2
pkgdesc="list all child processes for a given process ID"
arch=('any')
url="https://devel.ringlet.net/sysutils/pslist/"
license=('BSD')
depends=('perl')
source=("https://devel.ringlet.net/files/sys/$pkgname/$pkgname-$pkgver.tar.xz"
        "https://devel.ringlet.net/files/sys/$pkgname/$pkgname-$pkgver.tar.xz.asc")
sha256sums=('21883c976919890167b400f93465bbb8e4d1329126853b4e343d19b7b74484fb'
            'SKIP')
validpgpkeys=('2EE7A7A517FC124CF115C354651EEFB02527DF13')

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	cd "$pkgname-$pkgver"
	make PREFIX=/usr MANDIR=/usr/share/man/man DESTDIR="$pkgdir/" install
}
